﻿@model IEnumerable<CentaLine.Model.CounselorApplication>

@{
    ViewBag.Title = "主页";
}
	<div class="easyui-tabs" style="width:auto;height:770px">
        <div title="申报查询" id="divContent"  style="padding:5px">
        <div class="conditions">
          <label for="txtCounselorId">业务员ID:</label><input  type="text" id="txtCounselorId"/>
         <label for="txtDirectorId">总监ID:</label><input  type="text" id="txtDirectorId"/>
            <select id="selectStatus">
                  <option value="">--处理状态</option>
                  <option value="-7">人员离职无需处理</option>
                  <option value="-6">同一手机号被多个业务员使用</option>
                  <option value="-5">同一业务员申请使用不同手机号</option>
                  <option value="-4">系统错误</option>
                  <option value="-3">号码已存在</option>
                  <option value="-2">同一网站只分配一个虚拟号码</option>
                  <option value="-1">无号码可用</option>
                  <option value="0">待处理</option>
                  <option value="1">分配成功</option>
            </select>
          <a href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-search'" id="btnSearch">Search</a>
        </div>
         <table id="appList" class="dataList"  cellspacing="0" cellpadding="0">
          <thead>
              <tr>
                   <th>编号</th>
                   <th>申请月份</th>
                   <th>业务员工号</th>
                   <th>业务员</th>
                   <th>组织名称</th>
                   <th>手机号码</th>
                   <th>总监</th>
                   <th>总监工号</th>
                   <th>申请网站</th>
                   <th>虚拟电话</th>
                   <th>处理时间</th>
                   <th>处理状态</th>
              </tr>
          </thead>
          <tbody>
        
          </tbody>
      </table>
        <div id="pp" style="background:#efefef;border:1px solid #ccc;width:470px"></div>
        </div>
        <div title="绑定"> 
           <form id="formApp" method="post" action="../Home/SingleHandler">
               <input  type="hidden" name="webId" id="webId"/>
                <input  type="hidden" name="webName" id="webName"/>
             <table>
               <tr><td><label for="CounselorId">业务员ID:</label></td><td><input  id="CounselorId" name="counselorId" /></td></tr>
                <tr><td><label for="Mobile">手机号:</label></td><td><input  id="Mobile" name="mobile" /></td></tr>
               @* <tr><td><label for="DirectorId">总监ID:</label></td><td><input  id="DirectorId"  name="directorId" /></td></tr>*@
                <tr><td><label for="PhoneKind">网站类别:</label></td>
                    <td>
                        <select name="webNameList" id="webNameList">
                            <option value="-99">--请选择</option>
                        </select>
                    </td></tr>
           </table>
               </form>
          <div style="text-align:left;padding:5px">
	    	<a href="javascript:void(0)" class="easyui-linkbutton"  id="appSubmit">提交</a>
	    	<a href="javascript:void(0)" class="easyui-linkbutton" id="appClear"">清除</a>
	     </div>

        </div>
           <div title="解绑"> 
               <br />
               <label for="txtactualNo">业务员手机:</label><input  id="txtactualNo" name="counselorId" />
               <a href="javascript:void(0)" class="easyui-linkbutton"  id="searchVitualPhoneList">查询</a>
                 <br />
              <table id="vitualPhoneList" class="dataList"  cellspacing="0" cellpadding="0">
               <thead>
              <tr>
                   <th>真实号码</th>
                   <th>虚拟号码</th>
                   <th>类别</th>
                   <th></th>
              </tr>
          </thead>
             <tbody>
        
            </tbody>
             </table>    
                 <a href="javascript:void(0)" class="easyui-linkbutton"  id="btnRealse">解绑</a>
        </div>
   </div>
@section scripts{
      <script type="text/javascript">
          var $CONFIG = {};
          $CONFIG['load'] = 'Home';
     </script>
    <script src="~/Scripts/lib/seajs/sea.js" data-main="./Scripts/web/init"></script>    
}